export default {
  state: {
    num: 0,
  },
  mutations: {
    addNum(state) {
      state.num += 1;
    },
  },
  actions: {
    addNum({ commit }) {
      commit('addNum');
    },
  },
};
